<%--
  Created by IntelliJ IDEA.
  User: 冯根源
  Date: 2020/3/18
  Time: 18:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<p style="color: red;font-weight: 900;">${error}</p>
<h1>登录</h1>
<form action="${pageContext.request.contextPath}/LoginServlet" method="post">
    用户名：<input type="text" name="username" value="${user.username}"/><p style="color: red;font-weight: 900;"></p><br/>
    密&nbsp;&nbsp;&nbsp;&nbsp;码：<input type="password" name="password" value="${user.password}"/><p style="color: red;font-weight: 900;"></p><br/>

    <input type="submit" value="登录"/>
</form>

</body>
</html>
